package com.hbu.product.hbumallproduct.vo;

import com.hbu.product.hbumallproduct.entity.AttrEntity;
import lombok.Data;

/**
 * @ProjectName: hbu-mall
 * @Package: com.hbu.product.hbumallproduct.vo
 * @ClassName: AttrRelationVO
 * @Author: zxh
 * @Description:
 * @Date: 2022/11/24 17:45
 * @Version: 1.0
 */
@Data
public class AttrRelationVO {

    private Long attrId;

    private String attrName;

    private String valueSelect;

    public AttrRelationVO(AttrEntity attrEntity) {
        this.attrId = attrEntity.getAttrId();
        this.attrName = attrEntity.getAttrName();
        this.valueSelect = attrEntity.getValueSelect();
    }
}
